﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace NetBay.Core.BusinessEntities.Workflow.Rules
{
    [XmlTypeAttribute(AnonymousType = true, TypeName = "State")]
    [Serializable]
    public class State
    {
        [XmlAttributeAttribute()]
        public Target Target { get; set; }

        [XmlAttributeAttribute()]
        public SelectionMode StateMode { get; set; }

        [XmlAttributeAttribute()]
        public WorkflowState Value { get; set; }
    }
}
